package com.flitsneak.designpatterns.behavioralpatterns.observer;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/19 16:33
 * @description
 */
public class FeiFei {
    public static void main(String[] args) {
        Roommate roommate = new Roommate();
        MissDuan missDuan = new MissDuan();
        missDuan.addObserver(roommate);
        missDuan.talkWithBoy();
    }
}
